<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<link type="text/css" rel="stylesheet" href="<%=request.getContextPath() %>/statics/css/style.css" />
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<base href="<%=basePath%>">
	<title>My JSP 'Register.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
</head>
<body>
<div id="header" class="wrap"></div>
<div id="logo">国子监</div>
<div id="register">
	<div class="title">
		<h2>欢迎注册国子监</h2>
	</div>
	<div class="steps">
		<ul class="clearfix">
			<li class="current">1.填写注册信息</li>
		</ul>
	</div>
    <form method="post" id="addUser"  name="addUser	" action="<%=request.getContextPath()%>/user/add.html">
        <dl>
            <dt>账号：</dt>
            <dd><input class="input-text" id="userCode" name="userCode" type="text"  /><span></span></dd>
            <dt>密码：</dt>
            <dd><input class="input-text" id="userPassword" name="userPassword" type="password"  /><span></span></dd>
            <dt>确认密码：</dt>
            <dd><input class="input-text" id="rePassword" name="rePassword" type="password"  /><span></span></dd>
            <dt>用户名:</dt>
            <dd><input class="input-text" id="userName" name="userName" type="text"  /><span></span></dd>
            <dt>手机:</dt>
            <dd><input class="input-text" id="userPhone" name="userPhone" type="text"  /><span></span></dd>
            <dt>邮箱:</dt>
            <dd><input class="input-text" id="email" name="email" type="text"  /><span></span></dd>
			<dt>学校</dt>
			<dd>
				<select name="userSchool" id="userSchool">
					<option value="0" selected="selected">请选择学校</option>
					<option value="1">北京大学</option>
					<option value="2">清华大学</option>
					<option value="3">北大青鸟</option>
					<option value="4">郑州大学</option>
					<option value="5">厦门大学</option>
					<option value="6">武汉大学</option>
				</select>
				<span></span>
			</dd>
			<div>
				<input type="button" name="add" id="add" value="注册" >
				<input type="button" id="back" name="back" value="返回" onclick="fh()" >
			</div>
        </dl>
    </form>
</div>
<div id="footer" class="wrap">
	国子监 &copy; 版权所有

</div>
<script type="text/javascript" src="<%=request.getContextPath() %>/statics/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/statics/js/register.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/statics/js/common.js"></script>
<script type="text/javascript">
	function fh() {
		window.location.href="<%=request.getContextPath()%>/user/login.html";
	}
</script>
</body>
</html>